﻿<%@ Page Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="UpdateMessage.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.Messaging.UpadateMessage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />

    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style3
        {
            width: 71px;
        }
        
        .style5
        {
            width: 100%;
        }
        .style6
        {
            width: 81px;
        }
        </style>
    
     <script language="javascript" type="text/javascript">

        window.onload = function() {

            var msg = document.getElementById('ctl00_MasterMsg');
            if (msg && msg.innerHTML != '')
                showMessageBlock();
        }
        </script>
    
    </asp:Content>   
    
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="detailstable">
    <tr>
        <td  >
            <asp:Label ID="lblSubHeading" runat="server" CssClass="lbl1" 
                style="font-weight: 700">Message Details</asp:Label>
        </td>
        <td class="style4"  >
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="pix8"  >
            </td>
        <td   >
            </td>
        <td>
           </td>
    </tr>
    <tr>
        <td  >
            From:</td>
        <td class="style4"  >
            <asp:DropDownList ID="ddlFrom" runat="server" AutoPostBack="True" CssClass="ddl"
                onselectedindexchanged="ddlFrom_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td  >
            Broadcast:</td>
        <td class="style4"  >
            <asp:CheckBox ID="chkBroadcast" runat="server" AutoPostBack="True" CssClass="chbox"
                oncheckedchanged="chkBroadcast_CheckedChanged" />
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td  >
            Branch:</td>
        <td class="style4"  >
            <asp:DropDownList ID="ddlBranch" runat="server" AutoPostBack="True" CssClass="ddl"
                onselectedindexchanged="ddlBranch_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td  >
            Unit:</td>
        <td class="style4"  >
            <asp:DropDownList ID="ddlUnit" runat="server" AutoPostBack="True" CssClass="ddl"
                onselectedindexchanged="ddlUnit_SelectedIndexChanged">
                <asp:ListItem>Select...</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td  >
            SO Code:</td>
        <td class="style4"  >
            <asp:DropDownList ID="ddlSOCode" runat="server" AutoPostBack="True" CssClass="ddl"
                onselectedindexchanged="ddlSOCode_SelectedIndexChanged">
                <asp:ListItem>Select...</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td  >
            Message</td>
        <td  >
            <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" 
                CssClass="txtarea"></asp:TextBox>
        </td>
        <td valign="top">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtMessage" Display="Dynamic" 
                ErrorMessage="" text="*"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <table  >
                </table>
            <table cellpadding="0" cellspacing="0" class="style5">
                <tr>
                    <td class="pix8" >
                     </td>
                    <td>
                        </td>
                </tr>
                <tr>
                    <td class="style6">
            <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                 onclick="btnUpdate_Click" Visible="False" CssClass="btn" onclientclick="validationSummery();"
                            Width="76px"/>
                    </td>
                    <td>
            <asp:Button ID="btnCancel" runat="server" Text="Cancel"  style="height: 23px" CssClass="btn"
                Width="76px" onclick="btnCancel_Click" CausesValidation="False" />
                    </td>
                </tr>
            </table>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td  >
            &nbsp;</td>
        <td class="style4"  >
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>
  </asp:Content>